﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;

namespace ConexionBD
{
    public partial class FormAgrLib : Form
    {
        MySqlConnection Conexion = new MySqlConnection();
        string cadena;
        public string stConsulta;

        public FormAgrLib()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            Libreta libro = new Libreta();
            string titulo = textBox1.Text;
           
            libro.enviarAgrLibreta(titulo);
        }

        private void FormAgrLib_Load(object sender, EventArgs e)
        {

        }
    }
}
